const express = require('express')
const router = express.Router()

// 导入获取老年人票价处理函数
const order_handler = require('../router_handler/order.js')

router.get('/order', order_handler.getOrder)
router.post('/addOrder', order_handler.addOrder)
router.post('/updateOrder', order_handler.updateOrder)
router.delete('/deleteOrder/:id',order_handler.deleteById)

module.exports = router